import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';

/**
 * flock模块-群信息
 */
@Entity('flock_info_type')
export class FlockInfoTypeEntity extends BaseEntity {
  @Index()
  @Column({ comment: '群Id', default: 1 })
  flockId: number;

  @Column({ comment: '状态 0-群用户 1-用户评论', })
  flockType: number;

  @Column({ comment: '用户/评论Id' })
  userCommentId: number;

}
